<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>文章管理系统</title>
	<link rel="stylesheet" type="text/css" href="easyui/themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">
	<link rel="stylesheet" type="text/css" href="css/cms.css">
	<script type="text/javascript" src="easyui/jquery.min.js"></script>
	<script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		$(function(){
			
			$.getJSON("admin/getUserColumn.do", function(columns){
				var links = "";
				for(var i = 0; i < columns.length; i++){
					links += "<li><a href='"+columns[i].url+"' target='centerIfr'>"+columns[i].name+"</a></li>";
				}
				$("#backNav").html(links);
			});
			
		});
	</script>
</head>
<body class="easyui-layout">
	<div data-options="region:'north',border:false" style="height:100px;background:#B3DFDA;padding:10px">
		<div>
			<span style="font-size: 14px;">${loginUser.nickname}您好，欢迎登录系统！</span>
		</div>
		<div style="float: right;padding: 40px 20px 0">
			<a href="<%=request.getContextPath()%>/admin/logout.do">注销</a>&nbsp;&nbsp;
			<a href="<%=request.getContextPath()%>/index.jsp" target="_blank">访问网站</a>
		</div>
	</div>
	<div data-options="region:'west',border:false" style="width:200px;padding:10px;border-right: 1px solid #CCC;">
		<ul id="backNav">
			<!-- <li><a href="user/manager.do" target="centerIfr">人员管理</a></li>
			<li><a href="column/manager.do" target="centerIfr">栏目管理</a></li>
			<li><a href="role/manager.do" target="centerIfr">角色管理</a></li>
			<li><a href="article/manager.do" target="centerIfr">文章管理</a></li> -->
		</ul>
	</div>
	<div data-options="region:'center',border:false" id="center" style="overflow:hidden">
		<iframe name="centerIfr" class="ifm" src="welcome.jsp"></iframe>
	</div>
</body>
</html>